import request from "./uniHttp"

export const getArticles = (data) => {
	return request({
		url: '/api/sczx/tutorship/artInfo/list',
		data: data
	})
}

export const getTheArticle = (data) => {
	return request({
		url: '/api/sczx/tutorship/artInfo/detailById',
		data: data
	})

}

export const getTheArticleById = (data) => {
	return request({
		url: '/api/sczx/tutorship/artInfo/detailById',
		data: data
	})

}

export const getAllArticlesBytnId = (data) => {
	return request({
		url: '/api/sczx/tutorship/artInfo/pageByTenantId',
		data: data
	}, false)

}

// export const getArticlesClassPage = (data) => {
// 	return request({
// 		url: '/api/sczx/tutorship/artClass/page',
// 		data: data
// 	})

// }

export const getArticlesClassPage = (data) => {
	return request({
		url: '/api/sczx/tutorship/artInfo/pageByTenantId',
		data: data
	})

}